package com.jfinal.core;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 重写初始化
 * @author Marc
 * @version 1.0
 */
public abstract class CMSController extends Controller {

	/* (non-Javadoc)
	 * @see com.jfinal.core.Controller#init(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
	 */
	@Override
	public void init(HttpServletRequest request, HttpServletResponse response,
			String urlPara) {
		
		super.init(request, response, urlPara);
		setAttrDefualt();
	}
	
	public abstract void setAttrDefualt();
	
}
